package com.gdpu.dao;

import com.gdpu.model.OmsCartItem;
import com.gdpu.model.OmsOrderItem;
import com.gdpu.model.PmsGoods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author:weiming
 * @Date:2021/5/30
 */
public interface PortalOmsOrderItemDao  {
    /**
     * 批量插入商品如订单商品表
     * @param omsCartItemsList
     * @return
     */
    int insertBatch(@Param("list") List<OmsOrderItem> omsCartItemsList);

    /**
     * 根据
     * @param id
     * @return
     */
    List<OmsOrderItem> getOrderItem(Integer id);
}
